<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:69:"/data/www/sfadmin/public/../application/admin/view/auth_rule/add.html";i:1488527668;s:76:"/data/www/sfadmin/public/../application/admin/view/template/base_iframe.html";i:1488527668;}*/ ?>
<head>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/Hui-iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/app.css"/>
    
</head>
<body>




    <div id="loginform" class="loginBox">
        <form class="form form-horizontal" action="<?php echo url('add_proc'); ?>" method="post" id="ajaxSubmitForm">
            <!-- 上级权限 -->
            <input type="hidden" name="pid" value="<?php echo (isset($pid) && ($pid !== '')?$pid:'0'); ?>">

            <div class="row cl">
                <label class="form-label col-xs-3 col-ms-3">规则名称</label>
                <div class="formControls col-xs-6 col-ms-6">
                    <input name="name" type="text" placeholder="例：admin/index/index" class="input-text radius auth-name">
                </div>
                <div class="col-xs-3 col-ms-3"></div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-3 col-ms-3">规则描述</label>
                <div class="formControls col-xs-6 col-ms-6">
                    <input name="title" type="text" placeholder="例：后台首页" class="input-text radius auth-title">
                </div>
                <div class="col-xs-3 col-ms-3"></div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-3 col-ms-3">状态</label>
                <div class="skin-minimal">
                  <div class="radio-box">
                    <input type="radio" id="status-1" class="ara-radio" name="status" value="1" checked/>
                    <label for="status-1">开启</label>
                  </div>
                  <div class="radio-box">
                    <input type="radio" id="status-2" class="ara-radio" name="status" value="0">
                    <label for="status-2">关闭</label>
                  </div>
                </div>
            </div>

            <div class="row cl">
                <label class="form-label col-xs-3 col-ms-3">附加规则描述</label>
                <div class="formControls col-xs-6 col-ms-6">
                    <input name="condition" type="text" placeholder="根据用户表中字段填写，例：{login_count}>2" class="input-text radius ara-condition">
                </div>
                <div class="col-xs-3 col-ms-3"></div>
            </div>

            <div class="row cl">
                <div class="formControls col-xs-6 col-xs-offset-3">
                    <input name="" type="button" class="btn btn-success radius mr-20 submit" value="添加">
                    <input name="" type="reset" class="btn btn-default radius" value="重置">
                </div>
            </div>
        </form>
    </div>




<script type="text/javascript">
    var PUBLIC = '__PUBLIC__';
    var REQUIRE__JS = '__REQUIRE__JS__';
</script>
<!--require Js -->
<script src="__REQUIRE__JS__/require.config.js"></script>
<script src="__REQUIRE__JS__/require.js"></script>
<script src="__PUBLIC__/common/js/functions.js"></script>

	<script type="text/javascript" src="__AJS__/auth_rule/add.js"></script>

</body>
